package com.duck.base.oauth.security.model;

import java.io.Serializable;

/**
 * 登录成功响应模型
 * @author lwy
 *
 */
public class TokenModel implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * 认证token
	 */
	private String token;
	
	private String refresh_token;
	
	/**
	 * 认证有效时长
	 */
	private Long expires;

	public String getToken() {
		return token;
	}

	public Long getExpires() {
		return expires;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public void setExpires(Long expires) {
		this.expires = expires;
	}

	public String getRefresh_token() {
		return refresh_token;
	}

	public void setRefresh_token(String refresh_token) {
		this.refresh_token = refresh_token;
	}

}
